package com.example.hubeiweb.dao;

import com.example.hubeiweb.dao.impl.UserDaoImpl;
import com.example.hubeiweb.vo.Users;

import java.util.List;

/**
 * @author 黄子豪
 * @date 2025/6/24-9:11
 */

public interface UserDao {
    static UserDao getInstance()
    {
        return new UserDaoImpl();
    }
    Users userLogin(Users users);
    List<Users> queryUserList(String username);

    //添加用户操作
    int insertUser(Users users);

    //删除用户操作
    int deleteUser(String id);

    public Users queryUserById(String id);

    int updateUser(Users users);
}
